ENT.Type = "anim"
ENT.Base = "base_gmodentity"

ENT.PrintName = ""
ENT.Author = ""
ENT.Contact	= ""
ENT.Purpose	= ""
ENT.Instructions = ""

// Set scale

function ENT:SetDimensions(X, Y, Z)
	// Point
	
	self.Entity:SetNetworkedInt("X", X)
	self.Entity:SetNetworkedInt("Y", Y)
	self.Entity:SetNetworkedInt("Z", Z)
end

// Update entity label

function ENT:UpdateEntityLabel()
	local Label = "Barrier"
	local Dimensions = "\nX: "..self.Entity:GetNetworkedInt("X").."\nY: "..self.Entity:GetNetworkedInt("Y").."\nZ: "..self.Entity:GetNetworkedInt("Z")
	
	self:SetOverlayText(Label..Dimensions)
end

// Get entity label

function ENT:GetEntityLabel()
	self.Entity:GetVar("Label", "")
end